<template>
  <table>
    <tr>
      <td>id</td>
      <td>name</td>
      <td>age</td>
      <td></td>
    </tr>
  </table>
</template>
<script>
export default {
  data() {
    return {
      str: [
        { id: 'id', name: 'name', age: 'age' },
        { id: 1, name: 'tab', age: 12 },
        { id: 2, name: 'tab', age: 12 },
        { id: 3, name: 'tab', age: 12 }
      ]
    }
  },
  props: ['msg']
}
</script>
<style scoped>
table {
  border-collapse: collapse;
}
td {
  border: 2px solid rgb(61, 186, 12);
}
td {
  width: 80px;
  height: 25px;
  text-align: center;
  line-height: 25px;
}
</style>
